<?php
/**
 * Created by PhpStorm.
 * User: huynguyen
 * Date: 10/4/14
 * Time: 9:22 AM
 */

namespace Library\Constant;


class Constant
{
    const ITEM_PER_PAGE_20 = 20;

    const PATH_UPLOAD_VIDEO = '/public/files/';

    public $pathUploadImage = 'public/files/';

    public $pathUploadImageThubnail = 'public/files/thumbnail/';

    public $pathVideoFile = 'public/files/videos/';

    public $keyCache = array(
    	'video' => array(
            'listVideoByCategoryId'         => 'list-video-by-category-id',
            'listVideoPosterByCategoryId'   => 'list-video-poster-by-category-id',
            'listVideoBySearchKey'          => 'list-video-by-search-key',
            'videoBySlug'                   => 'video-by-slug',
            'listVideoLikeCategoryId'       => 'list-video-like-category-id',
            'listVideoInGroup'       => 'list-video-in-group-id',
    	),
        'videoCatergory' => array(
            'categoryId' => 'video-category-id',
            'categorySlug' => 'video-category-slug',
        ),
    	'videoGroup' => array(
            'videoGroupBySlug'    => 'video-group-by-slug',
            'listVideoGroupLikeCategoryId'       => 'list-video-like-category-id',
    	),
        'videoPoster' => array(
            'blockMastheadHome' => 'block-masthead-home',
        ),
    	'homeCategory' => array(
    		'category'		=> 'home-category' ,
    		'blockVideoCategory' => 'block-video-home-category-id' 
    	)
    );
} 